object FormBusca_Papel: TFormBusca_Papel
  Left = 639
  Top = 250
  Width = 595
  Height = 505
  ActiveControl = cbTipo
  Caption = 'Buscardor de papeles de Almacen'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poOwnerFormCenter
  OnActivate = FormActivate
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 0
    Top = 0
    Width = 587
    Height = 23
    Align = alTop
    Alignment = taCenter
    Caption = 'Buscar papel'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clMaroon
    Font.Height = -16
    Font.Name = 'Arial Black'
    Font.Style = []
    ParentFont = False
  end
  object pBuscar: TPanel
    Left = 0
    Top = 23
    Width = 587
    Height = 61
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 0
    object Label2: TLabel
      Left = 23
      Top = 22
      Width = 33
      Height = 13
      Caption = 'C'#243'digo'
    end
    object Label3: TLabel
      Left = 110
      Top = 22
      Width = 21
      Height = 13
      Caption = 'Tipo'
    end
    object Label4: TLabel
      Left = 302
      Top = 22
      Width = 24
      Height = 13
      Caption = 'Color'
    end
    object Label6: TLabel
      Left = 0
      Top = 0
      Width = 587
      Height = 13
      Align = alTop
      Alignment = taCenter
      Caption = 
        'Indica los criterios de busqueda que quieras en las casillas sig' +
        'uientes.'
    end
    object Label9: TLabel
      Left = 190
      Top = 22
      Width = 39
      Height = 13
      Caption = 'Gramaje'
    end
    object Label11: TLabel
      Left = 240
      Top = 22
      Width = 31
      Height = 13
      Caption = 'Ancho'
    end
    object Label12: TLabel
      Left = 359
      Top = 22
      Width = 18
      Height = 13
      Caption = 'Alto'
    end
    object eCodigo: TEdit
      Left = 14
      Top = 36
      Width = 50
      Height = 21
      Ctl3D = True
      ParentCtl3D = False
      TabOrder = 0
      OnChange = eCodigoChange
    end
    object eColor: TEdit
      Left = 279
      Top = 36
      Width = 70
      Height = 21
      Ctl3D = True
      ParentCtl3D = False
      TabOrder = 4
      OnChange = eCodigoChange
    end
    object eGramaje: TEdit
      Left = 187
      Top = 36
      Width = 45
      Height = 21
      Ctl3D = True
      ParentCtl3D = False
      TabOrder = 2
      OnChange = eCodigoChange
    end
    object eAncho: TEdit
      Left = 233
      Top = 36
      Width = 45
      Height = 21
      Ctl3D = True
      ParentCtl3D = False
      TabOrder = 3
      OnChange = eCodigoChange
    end
    object eAlto: TEdit
      Left = 350
      Top = 36
      Width = 45
      Height = 21
      Ctl3D = True
      ParentCtl3D = False
      TabOrder = 5
      OnChange = eCodigoChange
    end
    object cbTipo: TComboBox
      Left = 66
      Top = 36
      Width = 121
      Height = 21
      Style = csDropDownList
      Ctl3D = True
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 1
      OnChange = eCodigoChange
    end
  end
  object Grid: TXDBGrid
    Left = 0
    Top = 84
    Width = 587
    Height = 353
    Align = alClient
    DataSource = dsPapeles_Alm
    HeaderFont.Charset = DEFAULT_CHARSET
    HeaderFont.Color = clWindowText
    HeaderFont.Height = -11
    HeaderFont.Name = 'MS Sans Serif'
    HeaderFont.Style = []
    Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgTitleButtons, dgTitleHeaders, dgTitleWidthOff, dgMarkerAutoAlign, dgRowResize, dgRowScroll, dgMarkerAutoToggle, dgExtendedSelect, dgInternalSelect]
    ScrollBars = ssVertical
    TabOrder = 1
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    OnDblClick = GridDblClick
    OnPaintColumnCell = GridPaintColumnCell
    OnTitleClick = GridTitleClick
    Columns = <
      item
        Expanded = False
        FieldName = 'ID_PAPEL'
        Title.Caption = 'C'#243'digo'
        Visible = True
        Width = 50
      end
      item
        Expanded = False
        FieldName = 'ID_TIPO_PAPEL'
        Title.Caption = 'Tipo'
        Visible = True
        Width = 122
      end
      item
        Expanded = False
        FieldName = 'GRAMAJE'
        Title.Caption = 'Gramaje'
        Visible = True
        Width = 45
      end
      item
        Expanded = False
        FieldName = 'ANCHO'
        Title.Caption = 'Ancho'
        Visible = True
        Width = 45
      end
      item
        Expanded = False
        FieldName = 'COLOR'
        Title.Caption = 'Color'
        Visible = True
        Width = 70
      end
      item
        Expanded = False
        FieldName = 'ALTO'
        Title.Caption = 'Largo'
        Visible = True
        Width = 45
      end
      item
        Expanded = False
        FieldName = 'DESCRIPCION'
        Title.Caption = 'Generaci'#243'n'
        Visible = True
        Width = 100
      end
      item
        Expanded = False
        FieldName = 'STOCK'
        Title.Caption = 'Stock'
        Visible = True
      end>
  end
  object pBotones: TPanel
    Left = 0
    Top = 437
    Width = 587
    Height = 41
    Align = alBottom
    TabOrder = 2
    DesignSize = (
      587
      41)
    object BtnAceptar: TBitBtn
      Left = 362
      Top = 10
      Width = 100
      Height = 26
      Anchors = [akTop, akRight, akBottom]
      Caption = 'Seleccionar'
      TabOrder = 0
      OnClick = BtnAceptarClick
      Kind = bkOK
    end
    object BtnCancelar: TBitBtn
      Left = 472
      Top = 10
      Width = 100
      Height = 26
      Anchors = [akTop, akRight, akBottom]
      Caption = 'Cancelar'
      TabOrder = 1
      Kind = bkCancel
    end
  end
  object qPapeles: TZReadOnlyQuery
    Connection = md.BBDD
    AfterOpen = qPapelesAfterOpen
    SQL.Strings = (
      'SELECT * '#10
      'FROM PAPELES')
    Params = <>
    Left = 188
    Top = 324
  end
  object dsPapeles_Alm: TDataSource
    DataSet = qPapeles
    Left = 220
    Top = 324
  end
end
